from library.api.db import db, EntityModel


class Xmind(EntityModel):
    ACTIVE = 0
    DISABLE = 1
    
    task_id = db.Column(db.String(64))  # 任务id
    path = db.Column(db.String(200))  # 文本路径
    status = db.Column(db.Integer, default=ACTIVE)  # 状态
    user_id = db.Column(db.Integer)  # 用户id
